import styled from 'styled-components';

export const Container = styled.div`
    width: 100%;
    z-index: 100;
    overflow: hidden;
    background: #f2f3f4;
    transform-origin: right bottom;
    font-size:  0.7rem;
    color:#fff;
    width:100%;
    height: auto;
    overflow: scroll;
    .ant-page-header {
    width:100%;
    margin: 0;
    color: rgba(0, 0, 0, 0.85);
    font-size: .7rem;
    font-variant: tabular-nums;
    background-color: #fff;
    line-height: 1rem;
    list-style: none;
    font-feature-settings: 'tnum';
    position: fixed;
    z-index: 999;
    top:0;
    }
    .actived {
        opacity: .3;
    }
    .movie-page{
        margin-top:3rem;
        h1 {
            font-size: 1rem;
            img {
                position: absolute;
                left: 13.8rem;
                top: .2rem;
                width: 3.98rem;
                height: 2rem;
            }
        }
        .movie-info{
            width:100%;
            height:auto;
            background-color: #296666 !important;
            padding: .82rem .52rem;
            color: #fff;
            position: relative;
            .title {
                opacity: .6;
            }
            .movie-info-top {
                /* overflow: hidden; */
                margin-top: .8rem;
                display: flex;
                justify-content: flex-start;
                .cover {
                    /* float: left; */
                    height: 2.76rem;
                    width: 5.8rem;
                    position: relative;
                    flex-shrink: 0;
                    img {
                        width:100%;
                        height: auto;
                    }
                }
                .movie-desc {
                    flex-grow: 1;
                    margin-left: .5rem;
                    overflow: hidden;
                    .movie-desc-top {
                        display: flex;
                        flex-flow: column;
                        justify-content: flex-start;
                        flex-grow: 1;
                        font-size: .9rem;
                        font-weight:700;
                        p {
                            font-size: 0.6rem;
                            font-weight: 500;
                            margin-top: 0.3rem;
                            opacity:0.6;
                        }
                        .btns {
                            display: flex;
                            justify-content: space-between;
                            margin-top:.9rem;
                            img {
                                margin-top:.2rem;
                                width:5.5rem;
                                height:1.85rem;
                            }
    
                        }
                    }
                }
            }
            .watch {
                margin:.6rem .2rem;
                img {
                    width:17.5rem;
                }
            }
            .brief {
                background-color:#296666;
                overflow:hidden;
                .site-collapse-custom-collapse, .site-collapse-custom-panel {
                margin-bottom:.1rem;
                background-color:#296666;
                overflow: hidden;
                color: #fff !important;
                border: 0px;
                font-size: 0.7rem;
                border-radius: 2px;
                p {
                    margin-top:.2rem;
                    color:#fff;
                }
                }
                .author {
                    color:#fff;
                    .role{
                        margin: 0.6rem 0 1rem;
                        display: flex;
                        justify-content: space-between;
                        flex-wrap: nowrap;
                        div {
                            margin-top: 0.2rem;
                            width:24%;
                            display: flex;
                            flex-direction: column;
                           p {
                            text-align:center;
                            margin-top:.4rem;
                            font-size: 0.6rem;
                           }
                        }
                    }
                }
                }
            }
    }
    /* CSSTranstion 过度类型给children  */
    &.fly-enter,&.fly-appear {
        opacity: 0;
        /* 启用GPU加速 */
        transform: translate3d(100%, 0, 0);
    }
    &.fly-enter-active, &.fly-apply-active {
        opacity: 1;
        transition: all .3s;
        transform: translate3d(0, 0, 0);
    }
    &.fly-exit {
        opacity: 1;
        transform: translate3d(0,0,0)
    }
    &.fly-exit-active {
        opacity: 0;
        transition: all .3s;
        transform: translate3d(100%, 0, 0);
    }
`